
import Tab from './Tab'
import LamDialog from './Dialog'
import {getDictItems, getParamConfig} from "./dict";
import LamSelect from "./Select/LamSelect.vue";
import LamDictSelect from "./Select/LamDictSelect.vue";
import LamStatus from "./StatusTag/LamStatus.vue";
import UserStatus from "./StatusTag/UserStatus.vue";


export default {
  install(Vue) {

    // 页签操作
    Vue.prototype.$tab = Tab
    //获取参数配置
    Vue.prototype.$getParamConfig = getParamConfig
    //获取字典项
    Vue.prototype.$getDictItems = getDictItems
    //注册组件
    Vue.use(LamDialog)
    Vue.component('LamSelect', LamSelect)
    Vue.component('LamDictSelect', LamDictSelect)
    Vue.component('LamStatus', LamStatus)
    Vue.component('UserStatus', UserStatus)

  }
}
